<template>
  测试属性：
  {{model}}
  {{colName}}
</template>

<script setup lang="ts">

  interface Props {
    model: any,
    colName: string
  }

  // const props = defineProps<Props>()
  const { model, colName='默认值' } = defineProps<Props>()

  console.log(colName)

</script>